How to reproduce the results reported in:

Pesthy, Maria, Matthias Matthias & Harald Schoen.
Why is the AfD so successful in East Germany? An analysis of the ideational foundations of the AfD vote at the 2017 federal election.
In Politische Vierteljahresschrift, doi: https://doi.org/10.1007/s11615-020-00285-9

1)	Save all files (data set and Stata code) in the same folder. 
2)	To reproduce the findings reported in the main article, open "01_analyses.do" with Stata (Version 15) and run the code.
3)	To reproduce the findings reported in the appendix, open "02_Appendix.do" with Stata (Version 15) and run the code; open .inp files with Mplus (Version 7.3) and run the models.

You may have to change your Stata working directory to the folder in which you saved the data sets and do-files ("cd...")
You may have to download additional Stata ados and schemes. Type "findit [unknown command/scheme]" and install.

The cleaned data set is included in the reproduction package. The original data is publicly available:
GLES (2019). Wahlkampf-Panel (GLES 2017). GESIS Datenarchiv, Köln. ZA6804 Datenfile Version 7.0.0, https://doi.org/10.4232/1.13323.

The Stata code to clean the data set for the purpose of the anayses for this paper is available upon request. 
